contains

fun TimePeriod<*>.contains(other: TimePeriod<*>): Boolean